const baseURL="http://47.99.124.245:8008";

export const getsingleRoster =(data)=>{
	return new Promise((resolve,reject)=>{
		uni.request({
		url:baseURL+'/arrange/screen',
		method:'POST',
		data:data,
		header:{
			'content-type': 'application/x-www-form-urlencoded'
		},
		success: (res) => {
			resolve(res)
		},
		fail: (err) => {
			uni.showToast({
				title:"请求接口失败",
				icon:"none"
			})
			reject(err)
		}
		})
	})
}